package com.gl.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 收获地址信息
 * </p>
 *
 * @author lsy
 * @since 2021-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("shipping_address")
public class ShippingAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 收货人姓名
     */
    @ApiModelProperty("收货人姓名")
    @TableField("name")
    private String name;

    /**
     * 收货人电话
     */
    @TableField("phone")
    @ApiModelProperty("收货人电话")
    private String phone;

    /**
     * 省
     */
    @TableField("province")
    @ApiModelProperty("省")
    private String province;

    /**
     * 省Id
     */
    @TableField("province_id")
    @ApiModelProperty("省Id")
    private Integer provinceId;

    /**
     * 市
     */
    @TableField("city")
    @ApiModelProperty("市")
    private String city;

    /**
     * 市Id
     */
    @TableField("city_id")
    @ApiModelProperty("市Id")
    private Integer cityId;

    /**
     * 区
     */
    @TableField("region")
    @ApiModelProperty("区")
    private String region;

    /**
     * 区Id
     */
    @TableField("region_id")
    @ApiModelProperty("区Id")
    private Integer regionId;

    /**
     * 详细地址
     */
    @TableField("address")
    @ApiModelProperty("详细地址")
    private String address;

    /**
     * 公司名称
     */
    @TableField("company_name")
    @ApiModelProperty("公司名称")
    private String companyName;

    /**
     * 备注
     */
    @TableField("remark")
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;


}
